<template>
  <div class="TableGroup">
    <el-table :data="itemsInfo" stripe border="">
      <el-table-column prop="date" label="时间" align="center">
        <template slot-scope="scope">{{ scope.row.date||'-' }}</template>
      </el-table-column>
      <el-table-column prop="wx_num" label="微信支付笔数" align="center">
        <template slot-scope="scope">{{ scope.row.wx_num||'-' }}</template>
      </el-table-column>
      <el-table-column prop="wx_total" label="微信支付金额" align="center">
        <template slot-scope="scope">{{ scope.row.wx_total||'-' }}</template>
      </el-table-column>
      <el-table-column prop="ali_num" label="支付宝支付笔数" align="center">
        <template slot-scope="scope">{{ scope.row.ali_num||'-' }}</template>
      </el-table-column>
      <el-table-column prop="ali_total" label="支付宝支付金额" align="center">
        <template slot-scope="scope">{{ scope.row.ali_total||'-' }}</template>
      </el-table-column>
      <el-table-column prop="bank_num" label="银行卡支付笔数" align="center">
        <template slot-scope="scope">{{ scope.row.bank_num||'-' }}</template>
      </el-table-column>
      <el-table-column prop="bank_total" label="银行卡支付金额" align="center">
        <template slot-scope="scope">{{ scope.row.bank_total||'-' }}</template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  components: {},
  props: {
    itemsInfo: {
      type: Array,
      default: null
    }
  },
  data() {
    return {
      tableData: []
    }
  },

  methods: {}
}
</script>

<style lang="scss" scoped>
.TableGroup {
  .title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    .line {
      width: 3px;
      height: 16px;
      background: #579ef8;
    }
    .title-text {
      font-size: 18px;
      font-family: PingFang SC;
      font-weight: 400;
      color: #333333;
      margin-left: 20px;
      font-weight: bold;
    }
  }
}
</style>
